]> dgit.raspbian.org Git - gnome-shell.git/commit
automount: port from CK to systemd-logind
authorLennart Poettering <lennart@poettering.net>
Sat, 11 Feb 2012 03:51:42 +0000 (04:51 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 13 Feb 2012 22:17:09 +0000 (23:17 +0100)
commite8498adaf19e281c88f2116eb398a6135712fed5
tree7c58e3007830eda3f0daadc02a788bdfe7b07676
parentc7fa719cc39ab84facd9ca85730309c4a0eb326c
automount: port from CK to systemd-logind

ConsoleKit is being obsoleted by systemd. Accordingly port the CK logic
in the gnome-shell automount manager to systemd-logind APIs.

This makes use of systemd-logind's native C APIs which are much easier
to use than the D-Bus APIs in this case, and much faster too (since they
are synchronous and directly query the kernel for the information we
need). The dependency is compile time optional, and in order to be nice
to the Debian folks g-s compiled with this enabled fill automatically
fall back to CK support on systems lacking systemd.
configure.ac
js/ui/automountManager.js
src/Makefile.am
src/shell-util.c
src/shell-util.h